package org.blogwu.learn.jvmlearn.class3.demo1;

public class MyTest3 {

    public static String hello = "ss";

    public static Object o1;

    {
        o1 = new Object();
    }


    private static Object getIns() {
        synchronized (MyTest3.class) {
            int a = 0;
        }
        return o1;
    }

    public synchronized void getBank() {
        int a = 1111;
    }
}
